import request from '@/utils/request'

// 查询用户影视点赞列表
export function listUser_up(query) {
  return request({
    url: '/system/user_up/list',
    method: 'get',
    params: query
  })
}

// 查询用户影视点赞详细
export function getUser_up(thumbsUpId) {
  return request({
    url: '/system/user_up/' + thumbsUpId,
    method: 'get'
  })
}

// 新增用户影视点赞
export function addUser_up(data) {
  return request({
    url: '/system/user_up',
    method: 'post',
    data: data
  })
}

// 修改用户影视点赞
export function updateUser_up(data) {
  return request({
    url: '/system/user_up',
    method: 'put',
    data: data
  })
}

// 删除用户影视点赞
export function delUser_up(thumbsUpId) {
  return request({
    url: '/system/user_up/' + thumbsUpId,
    method: 'delete'
  })
}
